
import * as THREE from 'three'
import { merge } from "lodash"

export class Scene extends THREE.Scene {
  #defaultOptions = {
    background: 0x222222
  }
  constructor(globe) {
    super();
    this.globe = globe;
    this.options = merge({}, this.#defaultOptions, globe.options.camera);
    this.drawScene()
  }

  drawScene(){
    this.options.background = new THREE.Color(this.options.background)
    this.background = this.options.background;
  }

  render() {
    
  }

}